﻿<UserControl x:Class="Remember.WPF.Controls.TopMenuControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="30" d:DesignWidth="1024">
    <Border Height="30" HorizontalAlignment="Stretch" Margin="0" Name="pnlMenu" VerticalAlignment="Top" Background="DimGray" MaxWidth="1024" MinWidth="800" >
        <Grid >
            <Menu Height="24" VerticalAlignment="Center" Visibility="Collapsed" Background="Transparent" Foreground="WhiteSmoke" HorizontalAlignment="Right" Margin="0,0,10,0" VerticalContentAlignment="Center">
                <MenuItem Header="Max" Height="24" Width="40" Tag="MAX" Click="MenuItem_Click" />
                <MenuItem Header="Exit" Height="24" Width="40" Tag="EXIT" Click="MenuItem_Click">
                </MenuItem>
            </Menu>
            <Button Template="{DynamicResource CustomTopMenuMax}" Tag="MAX" Click="MenuItem_Click" HorizontalAlignment="Right" Margin="0,0,52,0" />
            <Button Template="{DynamicResource CustomTopMenuExit}" Tag="EXIT" Click="MenuItem_Click" HorizontalAlignment="Right" Margin="0,0,20,0" />
        </Grid>
    </Border>

</UserControl>
